#include "MemoryMenagerGraphics.h"
#define _CRT_SECURE_NO_DEPRECATE 1
#include "screen.h"
#include "conio.h"
#include <windows.h>
#include "Loader.h"
void main()
{
	MemoryMenagerGraphics *m;
	Loader l(L"txt");
	l.findExtensionFiles();
	int ch;
	
	while((ch = l.getUserChoise() ) != -1)
	{
	screen::cls();
	m = new MemoryMenagerGraphics(l.ExtensionFiles[ch]);
	m->Initialize();
	m->Run();
	m->Finalize();
	delete m;
	screen::cls();
	screen::MinimizeConsole();
	}

	
	


}